package it.fantacalcio.hibernate.dao;

import it.fantacalcio.model.Partita;

import java.util.List;

public interface PartitaDAO {

	public void save(Partita partita) throws Exception;
	public void delete(Partita partita) throws Exception;
	public void update(Partita partita) throws Exception;
	public Partita get(Long id) throws Exception;
	public List<Partita> list() throws Exception;
	public List<Partita> findByExample(Partita partita) throws Exception;
	
}
